<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/apply.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
		console.log("3333");
			var page = sys_fill_parm('queryApplyForm');
			queryApply_apply(page);
		}
	});
	$('#queryApplyForm').find("input:checkbox, input:radio").not('input.ibtn').uniform();
});

</script>

<#import "/freemarker/modeltype.ftl" as mt>

<div class="widget">
	<div class="widget-content">
		<div class="table-title">
			<form id="queryApplyForm">
				<table class="search_term_table">
					<tr>
						<th style="width: 60px;">标题</th>
						<td><input name="title" type="text"/></td>
						<th style="width: 80px;">创建时间</th>
						<td><input type="text" name="time1" style="width: 80px;" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});"/>
							到
							<input type="text" name="time2" style="width: 80px;" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});"/>
						</td>
						<td style="text-align:right;">
							<a class="btn btn-info" href="javascript:;" onclick="javascript: queryApply_apply();return false;"><i class="icon-search"></i>&nbsp;查&nbsp;&nbsp;询&nbsp;</a>&nbsp;&nbsp;
							<a class="btn btn-info" href="javascript:;" onclick="javascript: sys_load_handle('apply-edit');return false;"><i class="icon-popup-3"></i>&nbsp;添&nbsp;&nbsp;加&nbsp;</a>
						</td>
					</tr>
					<tr>
						<th style="width: 80px;">是否领用</th>
						<td>
							<select name="status">
								<option value="">所有</option>
								<option value="1">已领用</option>
								<option value="2">未领用</option>
							</select>
						</td>
						<th style="width: 80px;">是否屏蔽</th>
						<td><@mt.YesOrNo r=true name='deleted' d=false mc=true /></td>
					</tr>
				</table>
			</form>
			<div id="applySesultList"></div>
		</div>
	</div>
</div>